package com.bdk.middle.order.core.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Reagan
 * @since 2021-03-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("e_order_item")
public class OrderItemEntity implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    @TableField("delivery_id")
    private String deliveryId;

    @TableField("order_id")
    private String orderId;

    @TableField("supplie_id")
    private String supplieId;

    @TableField("goods_name")
    private String goodsName;

    @TableField("goods_no")
    private String goodsNo;

    @TableField("goods_count")
    private Integer goodsCount;

    @TableField("goods_attr")
    private String goodsAttr;

    @TableField("goods_price")
    private BigDecimal goodsPrice;

    @TableField("is_virtual")
    private Integer isVirtual;

    @TableField("is_supplier_delivery")
    private Integer isSupplierDelivery;


}
